import request from "@/views/lending/utils/request";
export default{
    //selectAll:查询所有
    selectAll(){
        return request({
            url:`/lend/brRegister/select/selectAll`,
            method:'get'
        })
    },
    //selectOne：id查询
    selectOne(id){
        return request({
            url:`/lend/brRegister/select/selectOne/${id}`,
            method:'get'
        })
    },
    //addRegister:新增登记
    addRegister(browInfo){
        return request({
            url:`/lend/brRegister/save/addRegister`,
            method:'post',
            data:browInfo
        })
    },
    updateStatusCancel(id){
        return request({
            url:`/lend/brRegister/update/updateStatusCancel/${id}`,
            method:'put',
        })
    }
}



